package zut.cs.liziflower.service;

import zut.cs.liziflower.entity.Address;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xuwenke
 * @since 2022-05-25
 */
public interface IAddressService extends IService<Address> {

    //添加地址
    int addAddress(Integer userid, String receivephone, String receiceprovince, String receivecity, String receivedistrict, String receiveaddress);

    List<Address> getAllAddress(Integer userid);

    int deleteAddress(Integer addressid);
}
